package com.shekhar.paas.exceptions;

public class StoryCreationException extends RuntimeException {

    private Exception exception;
    private String text;
    private String url;

    public StoryCreationException(Exception e, String text, String url) {
        super(e);
        this.exception = e;
        this.text = text;
        this.url = url;
    }

    public Exception getException() {
        return exception;
    }

    public String getText() {
        return text;
    }

    public String getUrl() {
        return url;
    }

}
